<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/commonJS.jsp" %>
<%@ include file="../common/commonLabel.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>无标题文档</title>
</head>
<script>
function subForm(){
	if(check()){
		document.forms[0].submit();
	}
	
}
</script>
<body>
<form action="clientIns.action" method="post">
<table width="760" border="0" cellpadding="0" cellspacing="0" >
  <tr>
     <td>
     <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="MainBody">
      <tr>
        <td class="MainBody_title">客户资料</td>
      </tr>
        <tr>
          <td class="MainBody_body"><table  border="0" cellpadding="0" cellspacing="0" class="MainBody_table_y">
                <tr>
                  <td  colspan="8" class="bg_title">客 户 个 人 信 息</td>
                </tr>
                <tr>
                  <th width="150"  nowrap="nowrap">客户姓名</th> 
                  <td width="200px;"><input name="c.clientName" class="notnull" title="客户姓名" check="checkBlank" type="text" size="60" maxlength="10"/></td>
                  <th width="150"  nowrap="nowrap">性 别</th>
                  <td width="200px;" style="text-align: left;">
                  <select name="c.sex">
                  </select>
                  </td>
          
                </tr>
                
                <tr>
                  <th nowrap="nowrap">移动电话</th>
                  <td ><input name="c.phone" type="text" class="notnull" title="移动电话" check="checkBlank" size="20" maxlength="20" /></td>
                  <th nowrap="nowrap">固定电话</th> 
                  <td ><input name="c.tel" type="text" title="固定电话" check="checkInt" size="20" maxlength="20"/></td>
                </tr>
                
                <tr>
                  <th nowrap="nowrap">邮 箱</th>
                  <td ><input name="c.email" type="text" size="10" title="邮箱" check="checkEmail" maxlength="50"/></td>
                  <th nowrap="nowrap">QQ号码</th> 
                  <td ><input name="c.qq" type="text" size="60" title="QQ号码" check="checkInt" maxlength="11"/></td>
                </tr>
                
                <tr>
                  <th nowrap="nowrap">传 真</th>
                  <td ><input name="c.fax" type="text" size="10" maxlength="15"/></td>
                  <th nowrap="nowrap">个人网址</th> 
                  <td ><input name="c.website" type="text" size="60" maxlength="50"/></td>
                </tr>
                
                 <tr>
                  <th nowrap="nowrap">客户来源</th>
                  <td style="text-align: left;">
 				  <select name="c.clientSource">
                    <option>自来</option>
                    <option>宣传介绍</option>
                    <option>熟人介绍</option>
                  </select>
				  </td>
                  <th nowrap="nowrap">客户类型</th> 
                  <td style="text-align: left;">
 				  <select name="c.clientType">
                  </select>
				  </td>
                </tr>
                
            	<tr>
                  <td  colspan="8" class="bg_title">客 户 单 位 信 息</td>
                </tr>
                
                <tr>
                  <th nowrap="nowrap">单位名称</th>
                  <td ><input name="c.unitName" type="text" size="10" maxlength="50"/></td>
                  <th nowrap="nowrap">性 质</th>
				  <td style="text-align: left;">
 				  <select name="c.property">
                  </select>
				  </td>
                </tr>
                
                <tr>
                  <th nowrap="nowrap">规 模</th> 
				  <td style="text-align: left;">
 				  <select name="c.scope">
                  </select>
				  </td>
                  <th nowrap="nowrap">客户职务</th>
                  <td ><input name="c.clientPosition" type="text" size="10" maxlength="15"/></td>
                </tr>
                
            	<tr>
                  <td  colspan="8" class="bg_title">客 户 其 他 信 息</td>
                </tr>
                
                <tr>
                  <th nowrap="nowrap">家庭住址</th> 
                  <td ><input name="c.homeAddress" type="text" size="60" maxlength="50"/></td>
                  <th nowrap="nowrap">单位地址</th>
                  <td ><input name="c.unitAddress" type="text" size="10" maxlength="50"/></td>
                </tr>
                
                <tr>
                  <th nowrap="nowrap">开 户 行</th> 
				  <td style="text-align: left;">
 				  <select name="c.bank">
                  </select>
				  </td>
                  <th nowrap="nowrap">银行账号</th>
                  <td ><input name="c.bankId" title="银行账号" check="checkInt" type="text" size="10" maxlength="50"/></td>
                </tr>
                
                <tr>
                  <th nowrap="nowrap">税 号</th> 
                  <td ><input name="c.dutyNumber" type="text" title="税号" check="checkInt" size="60" maxlength="50"/></td>
                  <th nowrap="nowrap">发票单位</th>
                  <td ><input name="c.billUnit" type="text" size="10" maxlength="50"/></td>
                </tr>
                
                <tr>
                  <th align="center" nowrap="nowrap" >备注信息</th> 
                  <td colspan="3" style="text-align: left;"><textarea name="c.description" cols="40"></textarea></td>
                </tr>
                 
            </table>
            <table border="0" cellpadding="0" cellspacing="0" class="MainBody_fun">
              <tr>
                <td><a href="#">
                  <input type="button" onclick="subForm()" class="btn" value="提 交" />&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="reset" class="btn" value="重 写" />&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="button" onclick="window.history.back()" value="返 回" class="btn" />
                </a></td>
              </tr>
            </table>
          </table></td>
  </tr>
</table>
<script type="text/javascript">
doSelectInfo(document.all["c.sex"],'sex','');
doSelectInfo(document.all["c.clientSource"],'clientsource','');
doSelectInfo(document.all["c.clientType"],'clienttype','');
doSelectInfo(document.all["c.property"],'clientproperty','');
doSelectInfo(document.all["c.scope"],'client_scope','');
doSelectInfo(document.all["c.bank"],'client_bank','');
</script>
</form>
</body>
</html>